x86/mwait-idle: disable Baytrail Core and Module C6 auto-demotion
authorLen Brown <len.brown@intel.com>
Tue, 9 Sep 2014 16:10:21 +0000 (18:10 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 9 Sep 2014 16:10:21 +0000 (18:10 +0200)
commit249735c48fb24cff44957f7d0bcb6cbf1f29fc4c
tree62d1ebaf18420e1caec7cdf61201551ddecfe9ac
parent48d32458bcd453e31b458bca868a079a6d0a38af
x86/mwait-idle: disable Baytrail Core and Module C6 auto-demotion

Power efficiency improves on Baytrail (Intel Atom Processor E3000)
when Linux disables C6 auto-demotion.

Based on work by Srinidhi Kasagar <srinidhi.kasagar@intel.com>.

Signed-off-by: Len Brown <len.brown@intel.com>
Do the MSR writes on all CPUs rather than just the current one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/cpu/mwait-idle.c
xen/include/asm-x86/msr-index.h